<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="When an Oracle Database with a Large Amount of Data Is Being Restored, the Restoration Job Stops Running for a Long Time">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002164757014.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="">
  <meta name="DC.Publisher" content="20250306">
  <meta name="prodname" content="csbs">
  <meta name="documenttype" content="usermanual">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000002164597218">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>When an Oracle Database with a Large Amount of Data Is Being Restored, the Restoration Job Stops Running for a Long Time</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000002164597218"></a><a name="EN-US_TOPIC_0000002164597218"></a>
  <h1 class="topictitle1">When an Oracle Database with a Large Amount of Data Is Being Restored, the Restoration Job Stops Running for a Long Time</h1>
  <div>
   <p>During database restoration, the system scans database files and performs restoration. If there are a large number of files in the database, it takes a long time to scan the database files. Before the scanning is complete, the job progress does not increase on the management page.</p>
   <p>If the restoration takes a long time, perform the following steps to check whether the system is running properly:</p>
   <ol>
    <li><span>Log in to the Oracle database host.</span><p></p>
     <ul id="EN-US_TOPIC_0000002164597218__en-us_topic_0000002164597202_en-us_topic_0000001656760969_ul1983714162204">
      <li id="EN-US_TOPIC_0000002164597218__en-us_topic_0000002164597202_en-us_topic_0000001656760969_li7258697580">If the Linux OS is used, use PuTTY to log in to the Oracle database host and run the <strong id="EN-US_TOPIC_0000002164597218__en-us_topic_0000002164597202_b14682476107">su - oracle</strong> command to switch to user <strong id="EN-US_TOPIC_0000002164597218__en-us_topic_0000002164597202_b1646874718106">oracle</strong>.</li>
      <li id="EN-US_TOPIC_0000002164597218__en-us_topic_0000002164597202_en-us_topic_0000001656760969_li1366015032013">If the Windows OS is used, log in to the Oracle database host as the system administrator.</li>
     </ul> <p></p></li>
    <li><span>Go to the <span class="filepath"><b>/ProtectClient-E</b></span> directory and view the Oracle restoration file.</span><p></p>
     <div class="p">
      The restoration file name starts with <span class="uicontrol"><b>recover_oracle</b></span>.
      <ul>
       <li>If the Linux OS is used, perform the following operations:
        <ol type="a">
         <li>Run the following commands to view the Oracle restoration file:<p><strong>cd </strong><em>/opt</em><strong>/DataBackup/ProtectClient/ProtectClient-E</strong></p> <p><strong>ll tmp/recover_oracle*</strong></p>
          <div class="note">
           <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
           <div class="notebody">
            <p>Replace <em>/opt</em> in the command with the actual client installation directory.</p>
           </div>
          </div></li>
         <li>Run the following command to view the last part in the file. <strong>recover_oracle1234567.rst</strong> is used as an example here.<p><strong>tail -f tmp/</strong><em>recover_oracle1234567.rst</em> <strong>| grep cataloging</strong></p> <p>If the command output keeps updating, the restoration job is running properly. Otherwise, contact technical support engineers.</p></li>
        </ol></li>
       <li>If the Windows OS is used, check whether a file whose name starts with <span class="uicontrol"><b>recover_oracle</b></span> exists in the following path: If yes, open the file to check whether the content keeps updating. If yes, the restoration job is running properly. Otherwise, contact technical support engineers.<p><em>C:\</em><strong>DataBackup\ProtectClient\ProtectClient-E</strong><strong>\stmp</strong></p>
        <div class="note">
         <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
         <div class="notebody">
          <p>Replace <em>C:\</em> with the actual client installation directory.</p>
         </div>
        </div></li>
      </ul>
     </div> <p></p></li>
   </ol>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="en-us_topic_0000002164757014.html">FAQs</a>
    </div>
   </div>
  </div>
 </body>
</html>